Please could someone help me compile and load a driver for a WiFi dongle. It’s a TP-Link AC600 and I use Leap 15.1.
I am confused by numerous things. The first being that although TP-Link provide instructions for Ubuntu, Mint and Kali they don’t provide the source code or a link to the code!. The writing on the dongle says “Archer T2U”. No reference to v1,2,3 or AC600 but I assume it’s v3 because I bought it from a high street shop (Currys/PC-World). lsusb simply gives Bus 001 Device 005: ID 2357:011f
After doing a bit of DuckDuckGo’ing it seems to be a MediaTek MT7610U. They provide source code and the readme says it’s for 2.4 and 2.6 series Linux kernel. The v3 instructions on the TP-Link website says it’s for 4.13.0-36 so I’m not sure if they are referring to different code. The driver has been compiled already but only for Tumbleweed… I’m using Leap 15.1 (4.12.4-lp151.28.36). I initially ‘updated’ to Tumbleweed but couldn’t get it to load and gave up easily. I would prefer to use Leap so I’m back to that.
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hubBus 001 Device 004: ID 045e:0823 Microsoft Corp.
Bus 001 Device 003: ID 0781:5406 SanDisk Corp. Cruzer Micro U3
Bus 001 Device 006: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Bus 001 Device 005: ID 045e:0768 Microsoft Corp. Sidewinder X4
Bus 001 Device 002: ID 2357:011f
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
837.684176] usb 1-1: new high-speed USB device number 8 using xhci_hcd
837.832549] usb 1-1: New USB device found, idVendor=2357, idProduct=011f
837.832554] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
837.832557] usb 1-1: Product: 802.11ac WLAN Adapter
837.832560] usb 1-1: Manufacturer: Realtek
837.832562] usb 1-1: SerialNumber: 00e04c000001
The relevant part of lsusb -v gives
Bus 001 Device 002: ID 2357:011f Couldn't open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.10
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x2357
idProduct 0x011f
bcdDevice 2.00
iManufacturer 1
iProduct 2
iSerial 3
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 60
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 500mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 6
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 2
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x05 EP 5 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x06 EP 6 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x87 EP 7 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 3
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x08 EP 8 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x09 EP 9 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
[69478.140218] usb 1-2: new high-speed USB device number 6 using xhci_hcd
[69478.163622] usb 1-2: New USB device found, idVendor=2357, idProduct=0120, bcdDevice= 2.00
[69478.163626] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[69478.163628] usb 1-2: Product: 802.11ac WLAN Adapter
[69478.163630] usb 1-2: Manufacturer: Realtek
[69478.163632] usb 1-2: SerialNumber: 00e04c000001
I did manage to use it by compiling the drivers from
https://github.com/aircrack-ng/rtl8812au
I’m not surprised because lwfinger is involved in that project, jfyi lwfinger hangs out in this forum from time to time.
You need git and the compiler package patterns-devel-base-devel_basis **.
**
zypper in git patterns-devel-base-devel_basis
It works on whatever kernel 15.1 has now, and I also have the 5.5.2-2.g994cf1f-default from kernel-stable repo.
and yes you will need to compile everytime you have a kernel update, or ask one of the regulars here if they can package that thing.
I forgot to mention that I have the kernel-firmware installed as well, there was a version of that package was not able to use the wireless driver but I think it was fixed now.
Device ID 2357:011f
This seems to be a RTL8814au
The RTL8812au driver from github can be compiled with support for RTL8814au
There are RTL8812au packages in the Packman repository. I would try that first because it will be kept in step with the Leap kernels. If you do not already have P=ackman installed:
sudo zypper ar -f http://ftp.gwdg.de/pub/linux/packman/suse/openSUSE_Leap_15.1/ 15.1-packman.gwdg
sudo zypper in rtl8812au-kmp-default rtl8812au
sudo systemctl reboot
I did tried/install all the rtl88* packages from the suse/packman repo, I even did a fresh install of 15.1 but none worked, so I resorted to compiling the driver.
This, however, worked a treat. I have the last updated kernel and the network popped up immediately.
Thank you!!
Come the day when the Leap kernel updates how would I go about installing the driver again? Hopefully I’ll be able to run a cat5 cable through the walls of my next home easily so I can go back to ethernet!
Hanging your problem at the end of a thread that has dies long ago is not a good idea when you want the problem exposed to potential helpers.
This is a 15.1 thread, you really should upgrade your system to at least 15.2, better 15.3 and check there if things are still problematic on a supported version of openSUSE.
Thanks for the advice.
I am actually using 15.3 and I started my own thread.
I imagined getting more exposure by commenting on an already discussed subject.
Many thanks anyway.